﻿using UnityEngine;
using System.Collections;

public class Sphere : MonoBehaviour {
	
	void Start () {
		transform.renderer.material.color = GetColor.getColor();
	}
	
	void Update () {

		transform.localScale += Time.deltaTime * Vector3.one;

		if (transform.localScale.magnitude > 5)
			this.enabled = false;
	}
}
